libaio: Fix for *BSD
authorKeir Fraser <keir@xensource.com>
Thu, 27 Sep 2007 14:13:54 +0000 (15:13 +0100)
committerKeir Fraser <keir@xensource.com>
Thu, 27 Sep 2007 14:13:54 +0000 (15:13 +0100)
  - Remove unused linux specific header
  - Include <sys/time.h> needed for struct timespec
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
tools/libaio/src/compat-0_1.c

index 136396f99638adacb16a649b8717f2dd0310b38f..53d520b9f92d0f731c866dab174aad231f554c49 100644 (file)
@@ -19,7 +19,7 @@
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307  USA
  */
 #include <stdlib.h>
-#include <asm/errno.h>
+#include <sys/time.h>
 
 #include "libaio.h"
 #include "vsys_def.h"